package org.xserver.component.core.filter;

public class XServerFilterException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Throwable rootCause;

	public XServerFilterException() {
	}

	public XServerFilterException(String message) {
		super(message);
	}

	public XServerFilterException(String message, Throwable rootCause) {
		super(message);
		this.rootCause = rootCause;
	}

	public XServerFilterException(Throwable rootCause) {
		super(rootCause.getLocalizedMessage());
		this.rootCause = rootCause;
	}

	public Throwable getRootCause() {
		return this.rootCause;
	}
}